package com.yeyks.common.appcommon.param.room;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import javax.validation.constraints.NotBlank;

import java.io.Serializable;

/**
 * @author Administrator
 */
@ApiModel(description = "查询客房信息输入参数")
@Data
public class QueryRoomParam implements Serializable {
    private static final long serialVersionUID = 2849736899793270649L;

    /**
     * token的有效令牌
     */
    @ApiModelProperty("token的有效令牌")
    @NotBlank(message = "token不能为空")
    private String token;

    @ApiModelProperty(value = "版本号")
    private String version;

    @ApiModelProperty(value = "平台")
    private String platform;

    @ApiModelProperty(value = "酒店ID，如果不传，通过token查询")
    private Integer hotelId;

    @ApiModelProperty(value = "臻选标志， 0：非臻选， 1：臻选， 3精选， 接口不用传")
    private Integer vipFlag;

    public QueryRoomParam() {
    }

    public QueryRoomParam(String token) {
        this.token = token;
    }
}
